package org.example.ddd.service;

import org.example.ddd.bean.LogAppProperties;

public class LogImpl implements logInterface {

    public LogImpl(LogAppProperties properties) {
        System.out.println("自定义日志 starter, 启动成功, 初始应用属性打印" + properties.toString());
    }
    public LogImpl( ) {
        System.out.println("自定义日志 starter, 启动成功 "  );
    }
    @Override
    public void log(String logText) {
        System.out.println(" ---------打印日志!!!------ " + logText);
    }
}
